<?php
$str="cd";
$$str="hotdog";
$$str.="ok";
echo $cd;
?>